/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package classes;

import java.io.Serializable;

/**
 *
 * @author keaneb1
 */
public class Invoice implements Serializable {
    
    private Booking newBooking;
    private double total_paid;

    /**
     * 
     * @param newBooking
     * @param total_paid
     */
    public Invoice(Booking newBooking, double total_paid) {
        this.newBooking = newBooking;
        this.total_paid = total_paid;
    }

    /**
     * 
     * @return
     */
    public Booking getNewBooking() {
        return newBooking;
    }

    /**
     * 
     * @param newBooking
     */
    public void setNewBooking(Booking newBooking) {
        this.newBooking = newBooking;
    }

    /**
     * 
     * @return
     */
    public double getTotal_paid() {
        return total_paid;
    }

    /**
     * 
     * @param total_paid
     */
    public void setTotal_paid(double total_paid) {
        this.total_paid = total_paid;
    }
    
    
}
